#define _CRT_SECURE_NO_WARNINGS
#include "List.h"

int main()
{
	LTNode* plist = NULL;
	plist = LTInit();
	//LTPushBack(plist, 1);
	//LTPushBack(plist, 2);
	//LTPushBack(plist, 3);
	//LTPushBack(plist, 4);
	//LTPrint(plist);
	//LTPopBack(plist);
	//LTPopBack(plist);
	//LTPopBack(plist);
	//LTPrint(plist);
	//LTPopBack(plist);
	//LTPrint(plist);
	LTPushFornt(plist, 2);
	LTPushFornt(plist, 2);
	LTPushFornt(plist, 2);
	LTPrint(plist);

	LTPopFornt(plist);
	LTPrint(plist);
	LTPopFornt(plist);
	LTPrint(plist);
	//LTPopFornt(plist);
	//LTPrint(plist);
	//LTPopFornt(plist);
	//LTNode* ret = LTFind(plist, 3);
	//LTInsert(plist, 10);
	//LTPrint(plist);
	//LTErase(ret);
	//LTPrint(plist);

	LTDestory(plist);
	plist = NULL;
	return 0;
}